package com.ocom.mqsubsidy.feign;

import com.ocom.common.constant.UnifiendPayUrl;
import com.ocom.common.request.web.GetConsPerReportsRequest;
import com.ocom.common.resp.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@Component
@FeignClient(value = "xfrecode")
public interface XfRecordFeign {

    //人员消费汇总报表
    @PostMapping(UnifiendPayUrl.URL_getConsPerReports)
    public Result getConsPerReports(@RequestBody GetConsPerReportsRequest getConsPerReportsRequest);
}
